<script>
	export default {
		onLaunch: async function() {
			
			console.log('App Launch')
			
			// #ifdef H5
			try{
				await this.$D_App.connectWeb3()
			}catch(e){
				// console.log(e)
			}finally{
				this.$isResolve()
			}
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* #ifndef APP-NVUE */
	@import '@/style/main.scss';
	@import '@/style/color.scss';
	@import '@/style/index.scss';

	/* #endif */
	
	page {
		font-size: 28rpx;
		color: #FFFFFF;
		background-color: #0C1216;
	}

	button {
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #0B0C15;
		background-color: #43EB95;

		&:active {
			opacity: 0.9;
			transform: translate(1rpx, 1rpx);
		}

		&:after {
			border: none;
		}
	}

	::-webkit-scrollbar {
		width: 0 !important;
		height: 0 !important;
		display: none;
	}
</style>